package com.woniu.main.goods.handler;


import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.woniu.main.goods.pojo.Goods;
import com.woniu.main.goods.service.GoodsAuditedService;


@RestController
@RequestMapping("/Audited")
public class GoodsAuditedController {
	
	
	
	@Autowired
	private GoodsAuditedService goodsAuditedService;
	//查询所有，已通过审核的物品
	@RequestMapping("/findAll")
	public List<Goods> findAllAudited(){
	System.out.println(goodsAuditedService.findAllAudited());
		return null;
		
	}
}
